// graceUI/components/graceCheckBtn.js
Component({
  properties: {
    size: {
      type: Number,
      value: 38
    },
    color: {
      type: String,
      value: '#9DD26D'
    },
    checked: {
      type: Boolean,
      value: false
    },
    checkedColor: {
      type: String,
      value: '#9DD26D'
    },
    parameter: {
      type: Array,
      value: []
    }
  },
  methods: {
    changeStatus: function () {
      this.setData({
        checked: !this.data.checked
      });
      this.triggerEvent('change', [this.data.checked, this.data.parameter]);
    }
  }
})